SC/bag.c